#include <iostream>
#include <cstdio>
#include <algorithm>
using namespace std;
int main()
{
    int n, sum = 1;
    cin >> n;
    while (n > 1)
    {
        sum++;
        n = n / 2;
    }
    cout << sum;
}